export interface CallGraphNode {
  id: string;
  label: string;
  type: 'METHOD' | 'TABLE' | 'CLASS' | string;
  category?: string;
  methodFullName?: string;
  className?: string;
  packageName?: string;
  tableName?: string;
  isEntry?: boolean;
  callCount?: number;
  properties?: Record<string, any>;
}

export interface CallGraphEdge {
  id: string;
  source: string;
  target: string;
  relationshipType: 'CALLS' | 'ACCESSES' | 'BELONGS_TO' | 'DEPENDS_ON' | string;
  label?: string;
  weight?: number;
  callCount?: number;
  properties?: Record<string, any>;
}

export interface CallGraphData {
  nodes: CallGraphNode[];
  edges: CallGraphEdge[];
  metadata?: { nodeCount: number; edgeCount: number; depth: number };
}

